import http from '@/plugins/axios'

export function getCustomerServiceList(data) {
  return http({
    method: 'POST',
    url: '/sys/user/cusSerList',
    data
  })
}

export function getCustomerServiceDetail(data) {
  return http({
    method: 'POST',
    url: '/sys/user/info',
    data
  })
}


export function updateCustomerServiceDetail(data) {
  return http({
    method: 'POST',
    url: '/sys/user/updateCusSer',
    data
  })
}

export function clearCustomerServiceGroup(data) {
  return http({
    method: 'POST',
    url: '/sys/user/clearGroup',
    data
  })
}

export function changeCustomerServiceList(data) {
  return http({
    method: 'POST',
    url: '/sys/user/changeList',
    data
  })
}
